using QFramework;

public class CardClickedCommand : AbstractCommand
{
    private readonly CardView mCardView;

    public CardClickedCommand(CardView cardView)
    {
        mCardView = cardView;
    }

    protected override void OnExecute()
    {
        this.GetSystem<ICardSystem>().OnCardClicked(mCardView);
    }
}
